import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';
export class UpdateInformDto {
  @ApiProperty({ description: 'id', required: true })
  @IsNotEmpty({
    message: 'id不能为空',
  })
  id: number;

  @ApiProperty({ description: '消息', required: true })
  @IsNotEmpty({
    message: '消息内容不能为空',
  })
  content: string;
}
